package demo;

public class test {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        mySingleList.addFirst(11);
        mySingleList.addFirst(12);
        mySingleList.addFirst(23);
        mySingleList.addFirst(34);
        mySingleList.addFirst(45);
        mySingleList.addLast(99);
        mySingleList.addIndex(3,666);
        mySingleList.display();
        System.out.println(mySingleList.size());
        System.out.println(mySingleList.contains(22));

    }
}
